<!-- src/components/theme-item.vue -->
<template>
  <div class="theme-item">
    <img :src="item.image" alt="Theme Image" />
    <h3>{{ item.title }}</h3>
    <p>{{ item.description }}</p>
  </div>
</template>

<script setup>
import { defineProps } from "vue";

const props = defineProps({
  item: {
    type: Object,
    required: true,
  },
});
</script>

<style scoped>
.theme-item {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
  background-color: #fff;
  border-radius: 5px;
}

.theme-item img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.theme-item h3 {
  margin: 10px 0;
  font-size: 16px;
}

.theme-item p {
  color: #666;
  font-size: 14px;
}
</style>